package com.ict.web.controller.file.service.impl;

import com.baomidou.mybatisplus.core.toolkit.CollectionUtils;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.google.common.collect.Lists;
import com.ict.common.utils.uuid.IdUtils;
import com.ict.web.controller.file.domain.YzqFile;
import com.ict.web.controller.file.dto.YzqFileDTO;
import com.ict.web.controller.file.mapper.YzqFileMapper;
import com.ict.web.controller.file.service.IYzqFileService;
import com.ict.web.domain.ExtractExpert;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 文件表Service
 *
 * @author xc
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class YzqFileServiceImpl extends ServiceImpl<YzqFileMapper, YzqFile> implements IYzqFileService {
    @Autowired
    private YzqFileMapper mapper;

    @Override
    public void batchInsertFile(List<YzqFile> files) {
        mapper.batchInsertFile(files);
    }
}